package com.jdcy.model.service;

import java.util.List;

public interface BaseService<T> {

	public int add(T t);

	public int update(T t);

	public int delete(Integer id);

	public T queryById(Integer id);

	public List<T> query();

}
